package com.sxz.sbs.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author : tian
 *  time   : 2018/03/13
 *  desc   :
 */

public class UploadAppBean implements Parcelable {

    /**
     * Id : 1
     * Type : 1
     * Version : 1
     * Content :
     * IsForce : 2
     * Status : 1
     * Size :
     * URL :
     * CreateTime : 2018-01-20 09:22:45
     */

    private int Id;
    private int Type;
    private String Version;
    private String Content;
    private int IsForce;
    private int Status;
    private String Size;
    private String URL;
    private String CreateTime;

    public int getId() {
        return Id;
    }

    public void setId(int Id) {
        this.Id = Id;
    }

    public int getType() {
        return Type;
    }

    public void setType(int Type) {
        this.Type = Type;
    }

    public String getVersion() {
        return Version;
    }

    public void setVersion(String Version) {
        this.Version = Version;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String Content) {
        this.Content = Content;
    }

    public int getIsForce() {
        return IsForce;
    }

    public void setIsForce(int IsForce) {
        this.IsForce = IsForce;
    }

    public int getStatus() {
        return Status;
    }

    public void setStatus(int Status) {
        this.Status = Status;
    }

    public String getSize() {
        return Size;
    }

    public void setSize(String Size) {
        this.Size = Size;
    }

    public String getURL() {
        return URL;
    }

    public void setURL(String URL) {
        this.URL = URL;
    }

    public String getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(String CreateTime) {
        this.CreateTime = CreateTime;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.Id);
        dest.writeInt(this.Type);
        dest.writeString(this.Version);
        dest.writeString(this.Content);
        dest.writeInt(this.IsForce);
        dest.writeInt(this.Status);
        dest.writeString(this.Size);
        dest.writeString(this.URL);
        dest.writeString(this.CreateTime);
    }

    public UploadAppBean() {
    }

    protected UploadAppBean(Parcel in) {
        this.Id = in.readInt();
        this.Type = in.readInt();
        this.Version = in.readString();
        this.Content = in.readString();
        this.IsForce = in.readInt();
        this.Status = in.readInt();
        this.Size = in.readString();
        this.URL = in.readString();
        this.CreateTime = in.readString();
    }

    public static final Parcelable.Creator<UploadAppBean> CREATOR = new Parcelable.Creator<UploadAppBean>() {
        @Override
        public UploadAppBean createFromParcel(Parcel source) {
            return new UploadAppBean(source);
        }

        @Override
        public UploadAppBean[] newArray(int size) {
            return new UploadAppBean[size];
        }
    };
}
